The expression form of if is not limited to single statements. You can have full braces-wrapped code blocks for either the if or the else branch, or both.

You can learn more about this in:
Run Expand Edit